home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 / Aminet - June 1993 [Walnut Creek].iso / ab20 / languags / ada / adaed10a.lzh / Ada / Examples / Dine / chopspec.ada < prev    next >
Encoding:
Text File  |  1992-03-03  |  298 b   |  12 lines

  1. PACKAGE Chop IS
  2. -- Specification for a chopstick task, intended for use with 
  3. -- dining philosophers. It is really just a binary semaphore.
  4. -- Michael B. Feldman, The George Washington University, November 1990.
  5.  
  6.   TASK TYPE Stick IS
  7.     ENTRY Pick_Up;
  8.     ENTRY Put_Down;
  9.   END Stick;
  10.  
  11. END Chop;
  12.